#ifndef INDEXFILE_H
#define INDEXFILE_H

#include <QObject>
#include <QVector>
#include <QFile>
#include <QTextStream>

class IndexFile : public QObject
{
    Q_OBJECT
public:
    explicit IndexFile(QObject *parent = NULL);
    ~IndexFile();

    void SetFileName(QString name);
    void ReadIndexFile();
    void SetString(QString Section, QString Item, QString Value);
    void SetFloat(QString Section, QString Item, float Value);
    void SetInt(QString Section, QString Item, int Value);
    void AddIndextoContainer(QString Section, QString Item, QString Value);
    void WriteIndexFile();

private:
    QString FileName;
    QVector<QString> IndexContainer;

signals:

public slots:
};

#endif // INDEXFILE_H
